﻿using System;
using NFlickr.Core.Interface;
namespace NFlickr.Communication
{
    public interface IChannel
    {
        
        string Host { get; set; }
        bool IsHttps { get; set; }
        int Port { get; set; }
        NFlickr.Core.Interface.IResult SendRequest(string url, NFlickr.Core.Interface.IFlickrService service);
        NFlickr.Core.Interface.IResult UploadFile(string url, NFlickr.Core.Interface.IFlickrService service, string fileFormatName, string fileName, string contentType);

        event EventHandler<SendRequestCompletedEventArgs> Complete;

        event SignatureRequiredEventHandler SignatureRequired;
    }
}
